<?php
/**
 * @name /www/_ini.php
 * @author Michael Foss <webdesign@matatechconsulting.com>
 * @version 2007.09.06
 *
 * This is the pointer to the initialization file, where
 * all configuration settings and libraries are loaded.
 */

/**
 * Requires a file to be included in the library path;
 * usage example might be ReqOnce('/lib/public/DB.php').
 *
 * @param string $pathToFile The path to the file.
 */
function ReqLib($pathToFile) {
  if (substr($pathToFile, 0, 1) != '/')
    $pathToFile = '/' . $pathToFile;
  require_once($_SERVER['DOCUMENT_ROOT'] . '/SKM/skm_libconf' . $pathToFile);
}

ReqLib('/conf/ini.php');